<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>SGCA Application</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <h:outputStylesheet name="css/screen.css" />
    </h:head>
    <h:body>
        <h:panelGroup id="page" layout="block">
            <p:growl autoUpdate="true" showDetail="false" />
            <h:panelGroup id="header" layout="block">
                <h1>SGCA</h1>
            </h:panelGroup>
            <p:menubar model="#{menuCtrl.menuPrincipal}" />
            <h:panelGroup id="container" layout="block">
                <h:panelGroup id="sidebar" layout="block">
                    <h:form id="form-sidebar">
                        <ui:insert name="sidebar"><h1>Sidebar</h1> Content for the sidebar goes here</ui:insert>
                    </h:form>
                </h:panelGroup>
                <h:panelGroup id="content" layout="block">
                    <h:form id="form-principal">
                        <ui:insert name="content">Main Content</ui:insert>
                    </h:form>
                </h:panelGroup>
            </h:panelGroup>
            <h:panelGroup id="footer" layout="block">
                #{messages.footerText}
            </h:panelGroup>
        </h:panelGroup>
    </h:body>
    <ui:insert name="dialogos" />
</html>
